package com.zxc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
*  exam
* @author  2020-02-14
*/
public class Exam {

    /**
    * classid
    */
    private int classId;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    private String className;

    /**
    * 考试名字
    */
    private String name;

    /**
    * 考试地点
    */
    private String place;

    /**
    * 考试时间
    */
    private String time;

    /**
    * 备注
    */
    private String remark;

    public int getClassid() {
        return classId;
    }

    public void setClassid(int classid) {
        this.classId = classid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    public String  getTime() {
        return time;
    }

    public void setTime(String  time) {
        this.time = time;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
